@import url('https://fonts.googleapis.com/css?family=Inconsolata');
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC');
/*
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300&family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300&display=swap');
@import url('http://fonts.googleapis.com/css?family=Cousine:400,700');*/

/* TODO convert all color styling to use these variables for consistency */
:root{
--headerhighlight: red;
--hovercolor:yellow;
}

html {
	/*
	 * TODO:
	 * Als ik dit doorzet, moet ik background:white ongedaan maken in dark mode
	background: url("http://wohgame.com/images/02.jpg?crc=3872992552") 0 0 no-repeat,
	url("http://www.peterburr.org/2013_images/dirtscraper.png")0 500px no-repeat,
	url("https://neauoire.github.io/neauismea/05.png") 0 1000px no-repeat,
	url("http://www.peterburr.org/2013_images/03B-2.png") 1500px no-repeat,
	url("https://neauoire.github.io/neauismea/0G.png") 0 2000px no-repeat,
	url("https://neauoire.github.io/neauismea/02.png") 0 2500px no-repeat,
	url("http://www.peterburr.org/2013_images/shape-collective.jpg") 0 2500px no-repeat,
	url("http://www.peterburr.org/2013_images/03B-2.png") 0 3000px repeat-y;
	background-size: cover;
	background-image: url("/images/noodle_dots.png");
	 */
	/* contain is chaotischer */
	background-size: contain;
    /*background-color: #202020;*/
}
body, li p {
	background: white;
	font-family: 'Inconsolata', sans-serif;
	text-align: justify;
	font-size: 17px;
	margin-top: 10px;
	margin-bottom: 10px;
	/*
	border:solid 1px #41403E;
	border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
	font-family: Cousine, menlo, monospace;
	font-size: 16px;
	line-height: 1.4;
	background-color: #fff;
	color: hsl(0, 0%, 10%);
	*/
}

h1,h2,h3,h4,h5,h6,header,header.a {
	text-transform: lowercase;
	font-family: 'Alegreya Sans SC', sans-serif;
}

header,header.a{
	font-weight: bold;
	color:#777;
}

h1 {
	display: inline-block;
	border: solid;
	border-width: 4px;
	border-color: black; 
	padding: 0.8em;
    text-align: left;
}

.remove-frame {
    border: none !important;
}

h2 {
	border-bottom-style: solid;
	border-width: 1px;
	border-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.4em;
}

/* Markdown-like headers */
h2::before { color: var(--headerhighlight); content: '## '; }
h3::before { color: var(--headerhighlight); content: '### '; }
h4::before { color: var(--headerhighlight); content: '#### '; }
h5::before { color: var(--headerhighlight); content: '##### '; }
h6::before { color: var(--headerhighlight); content: '###### '; }

::selection {
	background: var(--hovercolor);
	color: black;
}

/**
 * Table of content
 */
#toc {
  line-height: 1em;
  font-size: .8em;
  word-wrap: break-word;
  padding: 8px;
  padding-left: 16px;
  padding-bottom: 14px;
  margin: 0 0 25px 0;
  display: block;
  border: none;
  box-shadow: inset 0 0 0 1px grey;
  /* #E4EBF2; */
  border-radius: 4px;
  overflow: hidden;
}

#TableOfContents {
  margin: 1em 0 0 0;
  overflow-x: auto;
  word-wrap: normal;
  word-break: break-all;
  #white-space: nowrap;
}

#TableOfContents ul {
  list-style-type:none;
  margin: 0;
  padding: 0 .5em;
}

#TableOfContents ul li {
  list-style-type: none;
  line-height: 1.7em;
}

#TableOfContents > ul {
  padding: 0;
}

#TableOfContents > ul > li > ul {
  padding: 0;
}

#TableOfContents a code{
  font-size: 11px;
  padding: 2px 3px;
  font-weight: 100;
}

.switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 17px;
	margin-right: 10px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(13px);
	-ms-transform: translateX(13px);
	transform: translateX(13px);
}


.highlighttable td,th{padding:0;border:0;}td.code{width:95%;}

/*
 * Comments
 */

.post-comments {
  margin-top: 60px;
}

.post-comment {
  background-color: #eee;
  padding: 20px;
  margin-top: 20px;
}

.post-comment-reply {
  background-color: #eee;
  padding: 20px;
  margin-top: 20px;
  margin-left: 4em;
}

.post-comment-header {
  margin-bottom: 20px;
}

.post-comment-avatar {
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
}

.post-comment-info {
  display: inline-block;
  border-bottom: 1px;
  margin-left: 20px;
  margin-bottom: 0;
  vertical-align: middle;
}

.post-comment-field {
  display: block;
  font: inherit;
  padding: 10px;
  margin-top: 20px;
  outline-color: #F76C5E;
  width: 95%;
}

.post-new-comment {
	padding: 10px;
}

/*
 * Other
 */

.btn {
  border: 2px solid #F76C5E;
  background-color: #F76C5E;
  color: white;
  display: inline-block;
  font: inherit;
  padding: 20px;
  min-width: 100px;
  -webkit-appearance: none;
}

.btn:hover {
  border: 2px solid #F76C5E !important;
  background-color: white;
  color: #F76C5E;
  text-decoration: none;
}

.dialog {
  display: none;
  position: fixed;
  background-color: rgba(238, 238, 238, 1);
  padding: 25px;
  padding-top: 20%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.dialog:target {
  display: block;
}

.author-portret {
	padding: 10px;
	max-width: 150px;
	display: inline;
	float: right;
	text-align: center;
	font-weight: 400;
	font-style: italic;
	color: #666665;
	outline: 0;
	z-index: 300;
	font-size: 70%;
}

#display_light {
	display: inline;
}

#display_dark {
	display: none;
}

.ansi-header {
	display:block;
	line-height:1vw;
	font-size: 1vw;
	font-weight:bold;
	white-space:pre;
	font-family: monospace;
	color: black;
}

.unfold {
	max-height: 25px;
	overflow: hidden;
	-webkit-transition: max-height 1.2s;
	transition: max-height 1.2s;
	transition-timing-function: ease-in-out;

}

.unfold:hover {
	max-height: 500px; 
}

.post-mentions {
    padding-top: 15px;
    margin-top: 10px;
    border-bottom: 1px solid #AEADAD;
    font-size: 16px;
}
.post-mentions ul {
    list-style:none; 
    padding:0;
    margin-left: 0;
}

.webring {
    text-align: center;
    margin: 1rem;
}

.hover-box {
	/*
	padding-left: 25px;
	margin: 0.7em 10px;
	padding: 0.7em 20px;
	*/
}

.hover-box:hover {
	border-left: 3.5px solid #0594cb;
	border-left: 3px solid black;
}

.micro {
	margin: 0px;
	text-align: left;
	border: 1px solid black;
	padding: 1em; 
}

@media all {
	html {
		font-size: 18px;
	}
	body > * {
		font-size: 100%;
		margin-left: 7.5rem;
		margin-right: 7.5rem;
	}
}
@media all and (max-width:840px){
	html {
		font-size: 17px;
	}
	body > * {
		margin-left: 5.5rem;
		margin-right: 5.5rem;
	}
	.author-portret {
		max-width: 123px;
	}
}
@media all and (max-width:760px){
	body > * {
		margin-left: 2.5rem;
		margin-right: 2.5rem;
	}
	.author-portret {
		max-width: 111px;
	}
}
@media all and (max-width:580px){
	html {
		font-size: 16px;
	}
	body > * {
		margin: 0.7rem 1.5rem 0 1.5rem;
	}
	.author-portret {
		max-width: 85px;
	}
}


/* reset */
* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	padding: 0rem 0em 0rem 0em;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	max-width:1000px;
	min-height: 100%;
	text-rendering: optimizeLegibility;
	-moz-font-feature-settings: 'kern=1';
	-moz-font-feature-settings: 'kern' 1;
	-webkit-font-feature-settings: 'kern' 1;
	-o-font-feature-settings: 'kern' 1;
	-ms-font-feature-settings: 'kern' 1;
	font-feature-settings: 'kern' 1;

	text-rendering: optimizeLegibility;
	-moz-font-feature-settings: 'liga=1';
	-moz-font-feature-settings: 'liga' 1;
	-webkit-font-feature-settings: 'liga' 1;
	-o-font-feature-settings: 'liga' 1;
	-ms-font-feature-settings: 'liga' 1;
	font-feature-settings: 'liga' 1;
}

div.content { 
	display: block; 
	padding: 1rem 0 1rem 0;
}

header {
	display:block;
	padding: 0.5rem 0 0.5rem 0;
	border-bottom: 0.10em solid black;
}

/*
.footer {
	border-top-style: solid;
	border-top-width: 1px;
	border-color: black;
	padding-top: 12px;
	margin-bottom: 10px;
}
*/

footer {
    border-top: 1px solid black;
	display:block;
	padding: 1rem 0 1rem 0;
    margin-top: 2rem;
}

@media all and (max-width:520px) {
	div.content { 
		padding: 0;
	}
}

h1 {
	/* display: block; */
	font-size: 170%;
	line-height: 1.1;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	/*padding-top: 0.02em;*/
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-o-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

aside {
	font-size: 0.84rem;
	line-height: 1.40;
	color: #667;
}

aside em {
	font-size: 0.7rem;
}


p {
	margin-bottom: 1em;
	line-height: 1.45;
}

ul,ol {
	margin-bottom: 1em;
	padding-left: 1em;
}

li {
	line-height: 1.5em;
	margin-left: 1em;
	list-style-type: lower-greek; 
    list-style: "-- ";
}

table { 
	margin-bottom: 1.5em;
	border-collapse: collapse;
	width: 95%;
}

table tr + tr {
	border-top: 1px solid #ccc;
}
table td + td {
	border-left: 1px solid #ccc;
}

table td {
	padding: 0.4em;
	text-align: center;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-o-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

table th {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 95%;
	padding: 0.3rem 0.5rem 0.3rem 0.5rem;
	line-height: 1.05;
}

img {
	width: 100%;
}

a {
	text-decoration: none;
	color: inherit;
	/*display: inline-block;  enables transforms on links */
	/*
	-moz-transition-property: background;
	-webkit-transition-property: background;
	transition-property: background;
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	*/
	border:solid 1px transparent; /* set this to prevent horizontal shifting on hover */
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	line-height: 1;
}

p a, blockquote a {
	text-decoration: underline;
}

.preview {
    max-width: 80%;
}

.preview a {
	/*text-decoration: underline;*/
}

div.nav a:active div { 
	background: #cacaca;
}

hr {    border: 0;
        border-top: 1px grey dashed;
        margin-bottom: 8px;}

/*
a:active { 
	color: #777; 
}
*/

a:hover, a:hover h4 {
	/*
	background: black;
	color: white;
	*/
	background: var(--hovercolor);
	color: black;
	text-decoration: none;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	border:solid 1px black;
	-moz-transition-property: color;
	-webkit-transition-property: color;
	transition-property: color;
	-moz-transition-duration: .01s;
	-webkit-transition-duration: .01s;
	transition-duration: .01s;
	line-height: 1;
}


code {
	border:solid 1px #41403E;
	font-size: 85%;
	margin-bottom: 20px;
	background-color: #F4F4F5;
	/*background-color: white !important;*/
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-o-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

figcaption {
	font-weight: 400;
	font-style: italic;
	font-size: 0.7em/1.52;
	line-height: 1.3;
	color: #666665;
	outline: 0;
	z-index: 300;
	text-align: center;
}

blockquote {
	border-left: 3.5px solid #0594cb;
	border-left: 3px solid black;
	margin: 0.7em 10px;
	padding: 0.7em 20px;
}

blockquote p {
	display: inline;
}
